<template>
    <el-config-provider>
        <router-view />
    </el-config-provider>
</template>

<script setup lang="ts">
import { ElConfigProvider } from 'element-plus'
import { useI18n } from 'vue-i18n';
import { useLocaleStore } from '@/store/locale'
const localStore = useLocaleStore()
const language = localStore.getLocale
useI18n().locale.value = language

</script>
<style>
</style>
